<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <h:head>
        <title>#{msg.administracion}</title>
    </h:head>

    <h:body style="background-image: url('/images/fondogris.jpg')">



        <p:fieldset legend="#{msg.menu_busqueda}" toggleable="true" toggleSpeed="500" collapsed="false">
            <p:ajax event="toggle" listener="#{fieldsetBean.handleToggle}" update="growl" />



            <center><p:panel>
                <h:form id="miform">
                    <p:commandButton value="Comida" ajax="false" action="buscar" >
                        <f:setPropertyActionListener target="#{productoController.tipo_busqueda}" value="comida" />
                    </p:commandButton>
                </h:form>
                <br/>
                <h:form id="miform2">
                    <p:commandButton value="Bebida" ajax="false" action="buscar">
                        <f:setPropertyActionListener target="#{productoController.tipo_busqueda}" value="bebida" />
                    </p:commandButton>
                </h:form>
            </p:panel></center>


        </p:fieldset>


        <p:separator style="width:1400px;height:10px" />










    </h:body>
</html>
